# -*- mode: snippet -*-
# name: XeLaTeX Chinese
# key: chs
# group: templates
# expand-env: ((yas-indent-line 'fixed))
# --
\documentclass[a4paper,11pt]{article}
% ------ compile by XeLaTeX ------
% rubber: module xelatex
\usepackage[UTF8]{ctex}  % use "ctexart" in documentclass
\setCJKmainfont[BoldFont={STHeiti},ItalicFont={STKaiti}]{SimSun}

\usepackage[T1]{fontenc}
\usepackage{times,helvet}   % charter
\usepackage[scaled=0.95]{inconsolata}

\usepackage{latexsym,amsmath,amssymb,amsfonts,amsthm,
            mathrsfs,mathtools,upgreek}
\usepackage{enumitem}

\usepackage{graphicx}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{subcaption}

\usepackage{setspace} \onehalfspacing
\usepackage[parfill]{parskip}

\usepackage[dvipsnames]{xcolor}
\usepackage[colorlinks=true,linkcolor=magenta,citecolor=blue,
            urlcolor=cyan,filecolor=red]{hyperref}
\usepackage[round,sort]{natbib}


\begin{document}

% \title{}
% \author{}
% \date{\today}
% \maketitle

% ----------------- MAIN --------------------

$0







% --------------- BIBLIOGRAPHY --------------
% \def\bibfont{\small}
% \bibliographystyle{abbrvnat}  % plainnat,abbrvnat,unsrtnat
% \bibliography{./ref/library}

\end{document}
